package com.t235.gc.mapper;

import com.t235.gc.entity.Device;
import com.t235.gc.entity.DeviceCabinet;
import com.t235.gc.goodsvo.DeviceCabinetUpdateVo;

public interface DeviceCabinetMapper {
    int deleteByPrimaryKey(Long cabinetid);

    int insert(DeviceCabinet record);

    int insertSelective(DeviceCabinet record);

    DeviceCabinet selectByPrimaryKey(Long cabinetid);

    int updateByPrimaryKeySelective(DeviceCabinet record);

    int updateByDeviceIdSelective(DeviceCabinet record);

    int updateByPrimaryKey(DeviceCabinet record);

    int updateByIsflag(DeviceCabinetUpdateVo vo);

    void deleteByDeviceId(Long deviceId);

    DeviceCabinet selectByDeviceId(Long deviceId);
}